package com.fengwk.user.face.client.hystrix;

import java.util.Collection;
import java.util.List;

import org.springframework.stereotype.Component;

import com.fengwk.support.exception.BaseException;
import com.fengwk.user.face.client.UserClient;
import com.fengwk.user.face.model.User;

@Component
public class UserClientHystrix implements UserClient {

	@Override
	public User getUserByUserId(Long userId) {
		throw new BaseException("获取用户异常");
	}

	@Override
	public List<User> listUserByUserIds(Collection<Long> userIds) {
		throw new BaseException("获取用户列表异常");
	}

}
